home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / pascal / ooptut34.zip / TP / OOPTUTOR / OOPHELP.TXT < prev    next >
Text File  |  1993-01-27  |  20KB  |  627 lines

  1. .topic NoContext=0
  2.  Turbo Pascal OOP Tutor and Examples ▄
  3.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4. Welcome to Turbo Pascal OOP Tutor, which allows notes on Object-oriented
  5. Programming to be viewed in a scrollable window, whilst the source code
  6. for a number of examples can also be inspected. These example programs
  7. can be run as executable files (.EXE) from the tutor screen.
  8. The ≡ menu is accessed by pressing Alt-Space.  All the other menus are
  9. accessed by pressing Alt-Z, where Z is the first letter of the menu.
  10. For example, the "Notes" menu is pulled down by Alt-N. The Status Line
  11. provides appropriate prompts and shows, bottom right, the available
  12. Heap space. Use the arrow keys to scroll the text.
  13.  
  14. Press ESC to put this help screen away.
  15.  
  16. .topic Helpfile
  17.  Help File ▄
  18.   ▀▀▀▀▀▀▀▀▀▀
  19. This help file is created by typing the information using any word
  20. processor and conveniently in the IDE of Turbo Pascal itself.
  21. The extended ASCII characters such as ▀ and ▄ are entered by holding
  22. down the Alt key and entering the ASCII values such as 223 and 220
  23. using the Numeric Keypad to the right of the keyboard, releasing the
  24. Alt key after each numeric entry.
  25.  
  26. .topic Viewer=2
  27.  File viewer ▄
  28.   ▀▀▀▀▀▀▀▀▀▀▀▀
  29. A file viewer views the contents of a text file. You can use the
  30. arrow keys to move about in the file. A file is loaded via the
  31. {File│Open:FOpen} menu item.
  32.  
  33.   Up         Move up one line
  34.   Down       Move down one line
  35.   Right      Move right one column
  36.   Left       Move left one column
  37.   PgUp       Move one page up
  38.   PgDn       Move one page down
  39.   Home       View right most column of the file
  40.   End        View left most column of the file
  41.   Ctrl-PgUp  View top of file
  42.   Ctrl-PgDn  View bottom of file.
  43.  
  44. File viewers can be resized and moved using the {Windows} menu.
  45.  
  46. .topic List
  47.  List ▄
  48.   ▀▀▀▀▀
  49. Selecting List from the Notes sub-menu provides a screen window
  50. containing an alphabetical list of text files covering many Turbo
  51. Pascal OOP topics, with a brief description of the contents.
  52. After observing the filename required, press Alt-F3 to leave this
  53. screen display and then select Open to obtain a Dialog Box for
  54. selection of the reqired file.
  55.  
  56. .topic LOpen
  57.  List Open ▄
  58.   ▀▀▀▀▀▀▀▀▀▀
  59. Select the required file from the Dialog Box by pressing the Tab
  60. key and then using the arrow keys to move to the appropriate file.
  61. Then press the ENTER key.
  62.  
  63. .topic ExCode
  64.  Example Code ▄
  65.   ▀▀▀▀▀▀▀▀▀▀▀▀▀
  66. On selecting Open a list of Pascal source code files is presented
  67. for selection of the required file by pressing the Tab key and
  68. using the arrow keys to move to the appropriate file. The ENTER
  69. key should then be pressed.
  70.  
  71. .topic RecInit
  72.  RecInit ▄
  73.   ▀▀▀▀▀▀▀▀
  74. This program can be run by selection using the arrow keys and
  75. pressing ENTER, or else by pressing the highlighted key R.
  76.  
  77. Program to illustrate the initialization of a record by conventional
  78. means as opposed to the use of 'objects'.
  79.  
  80. .topic System
  81.  ≡ (System) menu ▄    (Alt-Spacebar)
  82.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  83. The System menu appears on the far left of the menu bar and is
  84. represented by the ≡ symbol.
  85.  
  86. When you pull down the ≡ menu, you see
  87.  
  88.   {About:SAbout}
  89.  
  90. .topic SAbout
  91.  ≡│About ▄
  92.   ▀▀▀▀▀▀▀▀
  93. When you choose the About command from the ≡ (System) menu, a
  94. dialog box appears, showing copyright and version information.
  95.  
  96. To close the box, press Esc, or click the top left symbol ▀.
  97.  
  98. .topic ObjInit
  99.  ObjInit ▄
  100.   ▀▀▀▀▀▀▀▀
  101. This program can be run by selection using the arrow keys and
  102. pressing ENTER, or else by pressing the highlighted key O.
  103.  
  104. Program to illustrate the initialization of a record by the use of an
  105. object as opposed to conventional methods.
  106.  
  107. .topic WrongOOP
  108.  WrongOOP ▄
  109.   ▀▀▀▀▀▀▀▀▀
  110. This program can be run by selection using the arrow keys and
  111. pressing ENTER, or else by pressing the highlighted key W.
  112.  
  113. Program to illustrate the need for Virtual Methods in
  114. object-oriented programming.
  115.  
  116. .topic POpen
  117.  Examples Open ▄
  118.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  119. To open a source code file select Open by arrow keys and then
  120. press ENTER, or just press O. Then use the tab key to move to
  121. the list of programs and then the arrow keys to select the
  122. required one. Then press ENTER.
  123.  
  124. .topic RightOOP
  125.  RightOOP ▄
  126.   ▀▀▀▀▀▀▀▀▀
  127. This program can be run by selection using the arrow keys and
  128. pressing ENTER, or else by pressing the highlighted key i.
  129.  
  130. This is an example of object-oriented programming using virtual
  131. methods.
  132.  
  133. .topic Notes
  134.  Notes  (Alt-N) ▄
  135.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  136. The Notes menu offers choices for opening files, changing
  137. directories, and exiting the program.
  138.  
  139.  {Open:FOpen}          {Change Dir:FChangeDir}    {FExit}
  140.  
  141. .topic FOpen
  142.  File│Open  (F3) ▄
  143.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  144. The Open command displays the Open a File dialog box. In this
  145. dialog box you select the text file you want to browse in a
  146. {file viewer:Viewer}.
  147.  
  148. The {Open a File:FOFileOpenDBox} dialog box contains:
  149.  
  150.  ■ an {input box:FOName} with a history list
  151.  ■ a {list box:FOFiles} to browse the directory
  152.  ■ the standard {Cancel:CancelBtn} button
  153.  ■ {Open:FOOpenBtn} action button
  154.  ■ an information panel that describes the
  155.    selected file
  156.  
  157. .topic FChangeDir
  158.  File│Change Dir...▄
  159.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  160. File│Change Dir brings up the {Change Directory:FCChDirDBox}
  161. dialog box, in which you can change the current directory.
  162.  
  163. .topic FDosShell
  164.  File│DOS Shell ▄
  165.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  166. With the DOS Shell command, you can leave the program temporarily
  167. to perform a DOS command or run another program.
  168.  
  169. To return to this program, type EXIT at the DOS prompt.
  170.  
  171. .topic FExit
  172.  File│Exit ▄     (Alt-X)
  173.   ▀▀▀▀▀▀▀▀▀▀
  174. The Exit command terminates this program.
  175.  
  176. .topic Windows
  177.  Window ▄    (Alt-W)
  178.   ▀▀▀▀▀▀▀
  179. The Window menu contains commands to close, move and perform
  180. other window-management commands.
  181.  
  182. Most of the windows in this program have all the standard window
  183. elements, including scroll bars, a close box, and zoom icons.
  184.  
  185. For more about windows and their elements, refer to windows.
  186.  
  187.  
  188.  Window-management commands
  189.  ══════════════════════════
  190.  
  191.  {Size/Move:WSizeMove}        {Zoom:WZoom}
  192.  {Tile:WTile}             {Cascade:WCascade}
  193.  {Next:WNext}             {Previous:WPrevious}
  194.  {Close:WClose}
  195.  
  196. .topic WSizeMove
  197.  Window│Size/Move ▄     (Ctrl-F5)
  198.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  199. Choose this command to change the size or position of the active
  200. window.
  201.  
  202.  ▄▄▄▄▄▄
  203.   Size
  204.  ▀▀▀▀▀▀
  205. If you press Shift while you use the arrow keys, you can change
  206. the size of the active window. Once you've adjusted its size or
  207. position, press Enter.
  208.  
  209. If a window has a Resize corner, you can drag that corner to
  210. resize the window.
  211.  
  212.  ▄▄▄▄▄▄
  213.   Move
  214.  ▀▀▀▀▀▀
  215. When you choose Window│Size/Move, the active window moves in
  216. response to the arrow keys. Once you've moved the window to where
  217. you want it, press Enter.
  218.  
  219. You can also move a window by dragging its title bar with the
  220. mouse.
  221.  
  222. .topic WZoom
  223.  Window│Zoom ▄   (F5)
  224.   ▀▀▀▀▀▀▀▀▀▀▀▀
  225. Choose Zoom to resize the active window to the maximum size. If
  226. the window is already zoomed, you can choose this command to
  227. restore it to its previous size.
  228.  
  229. You can also double-click anywhere on the window's title bar
  230. (except where an icon appears) to zoom or unzoom the window.
  231.  
  232. .topic WTile
  233.  Window│Tile ▄
  234.   ▀▀▀▀▀▀▀▀▀▀▀▀
  235. Choose Window│Tile to tile all file viewers on the desktop.
  236.  
  237.  ┌────────────────────────────────────┐
  238.  │ ╔════════════1══╗┌────────────2──┐ │
  239.  │ ║               ║│               │ │
  240.  │ ║               ║│               │ │
  241.  │ ║               ║│               │ │
  242.  │ ║               ║│               │ │
  243.  │ ╚═══════════════╝└───────────────┘ │
  244.  │ ┌────────────3──┐┌────────────4──┐ │
  245.  │ │               ││               │ │
  246.  │ │               ││               │ │
  247.  │ │               ││               │ │
  248.  │ │               ││               │ │
  249.  │ └───────────────┘└───────────────┘ │
  250.  └────────────────────────────────────┘
  251.              Tiled Windows
  252.  
  253. .topic WCascade
  254.  Window│Cascade ▄
  255.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  256. Choose Window│Cascade to stack all file viewers on the desktop.
  257.  
  258.  ┌──────────────────────────1─┐
  259.  │┌──────────────────────